﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProyectoHCI
{
    public partial class ExitoAgregarPregunta : Form
    {
        protected AgregarPreguntas agregarPreguntas;
        public ExitoAgregarPregunta(AgregarPreguntas ap)
        {
            InitializeComponent();
            agregarPreguntas = ap;
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            //agregarPreguntas.Enabled = true;
            agregarPreguntas.cerrar();
            this.Dispose();
        }
    }
}
